// 导入二次封装axios
import koi from "@/utils/axios.ts";

export const listPage = (data: any) => koi.get("/admin/user/user-group/list", data);
export const read = (id: any) => koi.get("/admin/user/user-group/read", {id});
export const update = (data: any) => koi.post("/admin/user/user-group/update", data);
export const add = (data: any) => koi.post("/admin/user/user-group/add", data);
export const getAllUserGroup = () => koi.get("/admin/user/user-group/getAllUserGroup");

